<?php include("include.php");?>
<?php $project = project::getProjectById($_GET['projectid']);?>
<div class="form">
<form action="createJobAction.php" method="post" id="createJobForm">
<h3>Job Information</h3>
<table >
	<tr>
		<td class="label">Owner: </td>
		<td class="input"><?php echo $currentUser->getName();?><input type="hidden" name="userid" value="<?php echo $currentUser->getId();?>" /></td>
	</tr>
	<tr>
		<td class="label">project: </td>
		<td class="input"><?php echo $project->getTitle();?><input type="hidden" name="projectid" value="<?php echo $project->getId();?>" /></td>
	</tr>    	
	<tr>
		<td class="label">* Title:</td>
		<td class="input"><input type="text" maxlength="255" name="title" /></td>
	</tr>
	<tr>
		<td class="label">* Question:</td>
		<td class="input"><textarea cols="50" rows="5" name="description"></textarea></td>
	</tr>
	<tr>
		<td class="label">* Country:</td>
		<td class="input"><?php echo country::generateSelectionBox(-1)?></td>
	</tr>
    <tr>
		<td class="label">&nbsp;</td>
		<td class="input"><img onclick="javascript:document.getElementById('createJobForm').submit();" src="images/create.png" /></td>
    </tr>
</table>    
</form>
</div>
<?php include("includes/footer.php");?>